import {Component} from '@tarojs/taro'
import {Image, View} from '@tarojs/components'

import './index.scss'

import speech_png from '../../assets/imgs/speech.png'


class DataMissingBody extends Component {

    render() {
        return (
            <View className='data-missing-body' >
                <View className='data-missing-body-top'>

                    <Image src={speech_png} className='data-missing-body-top-img'mode="widthFix"/>
                    <Text className='data-missing-body-top-text1'>创建一个午间课程</Text>
                    <Text className='data-missing-body-top-text2'>点击一下在微信上创建活动</Text>
                </View>
                <Button onClick={()=>Taro.navigateTo({url:'/pages/creator/index'})} className='data-missing-body-btn'>创建课程</Button>
            </View>
        )
    }
}



export default DataMissingBody
